package com.fay.designPattern.principles.solid;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/3/1 17:33
 * @Version 1.0
 */
public abstract class OcpAlertHandler {
    protected AlertRule rule;
    protected Notification notification;

    public OcpAlertHandler(AlertRule rule, Notification notification) {
        this.rule = rule;
        this.notification = notification;
    }

    public abstract void check(ApiStatInfo apiStatInfo);
}
